home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
comm
/
term
/
term34Source.lha
/
termExtras.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-16
|
4KB
|
112 lines
/*
** termExtras.h
**
** Extra symbol definition file
**
** Copyright © 1990-1993 by Olaf `Olsen' Barthel & MXM
** All Rights Reserved
*/
/* Special character codes. */
#define XOF '\21'
#define XON '\23'
#define BEL '\a'
#define VTB '\v'
#define TAB '\t'
#define BKS '\b'
#define ENT '\n'
#define RET '\r'
#define ESC '\033'
#define DEL '\177'
#define FFD '\f'
#define CAN '\030'
#define SUB '\032'
#define ENQ '\005'
#define SI '\016'
#define SO '\017'
/* Internally handled control keys. */
#define CUP 150
#define CDN 151
#define CFW 152
#define CBK 153
#define FN1 128
#define FN2 129
#define FN3 130
#define FN4 131
#define FN5 132
#define FN6 133
#define FN7 134
#define FN8 135
#define FN9 136
#define F10 137
#define HLP 149
/* Control sequence introducer. */
#define CSI 155
/* Standard IFF chunk types. */
#define ID_8SVX MAKE_ID('8','S','V','X') /* Eight bit sampled voice. */
#define ID_VHDR MAKE_ID('V','H','D','R') /* Voice header. */
#define ID_CHAN MAKE_ID('C','H','A','N') /* Sound channel information. */
#define ID_FTXT MAKE_ID('F','T','X','T') /* Formatted text. */
#define ID_CHRS MAKE_ID('C','H','R','S') /* Character data. */
#define ID_BODY MAKE_ID('B','O','D','Y') /* Generic data body chunk. */
/* `term' private chunk types. */
#define ID_DATE MAKE_ID('D','A','T','E') /* Date and time information. */
#define ID_DIAL MAKE_ID('D','I','A','L') /* Number of phonebook entries. */
#define ID_FAST MAKE_ID('F','A','S','T') /* Fast! macro settings. */
#define ID_HOTK MAKE_ID('H','O','T','K') /* Hotkey settings. */
#define ID_KEYS MAKE_ID('K','E','Y','S') /* Function key settings. */
#define ID_PHON MAKE_ID('P','H','O','N') /* Phonebook data. */
#define ID_PREF MAKE_ID('P','R','E','F') /* Preferences data chunk. */
#define ID_PSWD MAKE_ID('P','S','W','D') /* Password entry. */
#define ID_RECV MAKE_ID('R','E','C','V') /* Translation table data (receiver side). */
#define ID_SEND MAKE_ID('S','E','N','D') /* Translation table data (sender side). */
#define ID_TRNS MAKE_ID('T','R','N','S') /* Translation table data (master table). */
#define ID_SPEK MAKE_ID('S','P','E','K') /* Speech settings. */
#define ID_TERM MAKE_ID('T','E','R','M') /* `term' data chunk. */
#define ID_VERS MAKE_ID('V','E','R','S') /* Version identification. */
#define ID_WIND MAKE_ID('W','I','N','D') /* Fast! macro window size and position. */
#define ID_SOUN MAKE_ID('S','O','U','N') /* Sound settings. */
#define ID_WINF MAKE_ID('W','I','N','F') /* Window position/size information. */
/* `term' configuration and phonebook file chunk types. */
#define ID_SERL MAKE_ID('S','E','R','L') /* Serial settings. */
#define ID_MODM MAKE_ID('M','O','D','M') /* Modem settings. */
#define ID_COMD MAKE_ID('C','O','M','D') /* Command settings. */
#define ID_SCRN MAKE_ID('S','C','R','N') /* Screen settings. */
#define ID_TRML MAKE_ID('T','R','M','L') /* Terminal setting. */
#define ID_PATH MAKE_ID('P','A','T','H') /* Path settings. */
#define ID_MISC MAKE_ID('M','I','S','C') /* Misc settings. */
#define ID_CLIP MAKE_ID('C','L','I','P') /* Clip settings. */
#define ID_CPTR MAKE_ID('C','P','T','R') /* Capture settings. */
#define ID_FILE MAKE_ID('F','I','L','E') /* File settings. */
#define ID_EMLN MAKE_ID('E','M','L','N') /* Emulation settings. */
#define ID_XFER MAKE_ID('X','F','E','R') /* Transfer settings. */
/* Some pragmas to make life easier... */
#pragma libcall GfxBase SetWriteMask 3D8 0802
#pragma libcall GfxBase GetAPen 35A 801
#pragma libcall GfxBase GetBPen 360 801
#pragma libcall GfxBase GetDrMd 366 801
/* Use a simple address trick instead of the predefined
* address in amiga.lib.
*/
#ifndef custom
#define custom (*(struct Custom *)0xDFF000L)
#endif /* custom */